#ifndef HTMLBOX_H
#define HTMLBOX_H

#include <BSpacer>
#include <BWidget>

using namespace BWE;

class HtmlBox : public BWidget
{
	BOBJECT(HtmlBox);
public:
	HtmlBox(const BString& name);
	~HtmlBox();

	void addBox(HtmlBox* box);
	void addLabel(BLabel* label);

protected:
	virtual void changeEvent(const BChangeEvent& event);
	virtual void adjustEvent(const BEvent& event);

private:
	BVBoxLayout*	_vlayout;
	BHBoxLayout*	_lineLayout;
};

#endif